package com.example.store2.Service.impl;

import com.example.store2.Mapper.ClassesMapper;
import com.example.store2.Service.ClassesService;
import com.example.store2.pojo.Classes;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ClassesServiceImpl implements ClassesService {
    @Autowired
    ClassesMapper classesMapper;
    @Override
    public List<Classes> getclasses(Integer occupationId) {
        return classesMapper.getclasses(occupationId);
    }
}
